package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IGuessingAndAwardDetailsActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.AwardWinnerDetail;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

public class GuessingAndAwardDetailsActivityModel implements IGuessingAndAwardDetailsActivityModel {

    private NetService netService;

    public GuessingAndAwardDetailsActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void initView(Integer winnId, HttpResultSubscriber<AwardWinnerDetail> subscriber) {
        netService.putAwardInfo(winnId, subscriber);
    }

    @Override
    public void ensureAwardOrder(Integer winnId, HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.ensureAwardOrder(winnId, subscriber);
    }


}
